package Initialize

import (
	"github.com/gin-gonic/gin"
	"gorm-gin-master/Routers"
)

func InitRouters() *gin.Engine{
	Router := gin.Default();
	// 路由分组
	ApiGroup := Router.Group("/v1/")
	Routers.BookRouter(ApiGroup)
	return Router
}